package com.blb.service;

import com.blb.entity.Post;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author HuaHao
 * @since 2019-11-16
 */
public interface IPostService extends IService<Post> {

    /**
     * 根据子部门id查职位
     * @param dId
     * @return
     */
    List<Post> getPostsByDId(String dId);
}
